package com.foogui.booteasyexcel.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
// @ColumnWidth(20)     // 列宽
// @ContentRowHeight(5) // 行高
// @HeadRowHeight(20)
public class RespCustomerDailyExport {
    @ExcelProperty(value = "客户编码")
    private String customerName;
    @ExcelProperty(value = "MIS编码")
    private String misCode;
    @ExcelProperty("月度滚动额")
    private BigDecimal monthlyQuota;
    @ExcelProperty("最新应收账款余额")
    private BigDecimal accountReceivableQuota;
    @NumberFormat("#.##%")
    @ExcelProperty("本月利率(年化）")
    private BigDecimal dailyInterestRate;
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("时间")
    private LocalDateTime date;
}
